<?php

namespace Ensao\AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * Ensao\AppBundle\Entity\Proced
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Ensao\AppBundle\Entity\ProcedRepository")
 */
class Proced
{

     /**
     * @ORM\ManyToOne(targetEntity="Ensao\AppBundle\Entity\Dossier")
    
     */
	 private $dossier;
	  /**
     * @ORM\ManyToOne(targetEntity="Ensao\AppBundle\Entity\Instance")
    
     */   
	private $instance;	 
		 

    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var text $description
     *
     * @ORM\Column(name="description", type="text")
     */
    private $description;

    /**
     * @var date $dateCreation
     *
     * @ORM\Column(name="dateCreation", type="date")
     */
    private $dateCreation;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set description
     *
     * @param text $description
     */
    public function setDescription($description)
    {
        $this->description = $description;
    }

    /**
     * Get description
     *
     * @return text 
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * Set dateCreation
     *
     * @param date $dateCreation
     */
    public function setDateCreation($dateCreation)
    {
        $this->dateCreation = $dateCreation;
    }

    /**
     * Get dateCreation
     *
     * @return date
     */
    public function getDateCreation()
    {
        return $this->dateCreation;
    }

    /**
     * Set dossier
     *
     * @param Ensao\AppBundle\Entity\Dossier $dossier
     */
    public function setDossier(\Ensao\AppBundle\Entity\Dossier $dossier)
    {
        $this->dossier = $dossier;
    }

    /**
     * Get dossier
     *
     * @return Ensao\AppBundle\Entity\Dossier 
     */
    public function getDossier()
    {
        return $this->dossier;
    }

    /**
     * Set instance
     *
     * @param Ensao\AppBundle\Entity\Instance $instance
     */
    public function setInstance(\Ensao\AppBundle\Entity\Instance $instance)
    {
        $this->instance = $instance;
    }

    /**
     * Get instance
     *
     * @return Ensao\AppBundle\Entity\Instance 
     */
    public function getInstance()
    {
        return $this->instance;
    }
}